package com.wss.llm.controller;

import com.wss.llm.service.DeepSeekClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @author:wss
 * @CreatDate:2025/3/25 12:44
 * @Description：
 */
@RestController
@RequestMapping("ai")
public class DeepSeekController {
    @Autowired
    private DeepSeekClient deepSeekClient;
    @GetMapping("/get")
    public String sendRequest(@RequestParam String prompt) throws Exception {
        return deepSeekClient.sendRequest(prompt);
    }
}
